(global.webpackJsonp = global.webpackJsonp || []).push([ [ "uview-ui/components/u-form/u-form" ], {
    "1c79": function(e, t, n) {
        n.r(t);
        var o, u = n("a9f1"), f = n("fe1f");
        for (o in f) "default" !== o && function(e) {
            n.d(t, e, function() {
                return f[e];
            });
        }(o);
        n("f3f6");
        var r = n("f0c5"), u = Object(r.a)(f.default, u.b, u.c, !1, null, "1cc99a02", null, !1, u.a, void 0);
        t.default = u.exports;
    },
    "5eda": function(e, t, n) {
        Object.defineProperty(t, "__esModule", {
            value: !0
        }), t.default = void 0;
        var o = {
            name: "u-form",
            props: {
                model: {
                    type: Object,
                    default: function() {
                        return {};
                    }
                },
                errorType: {
                    type: Array,
                    default: function() {
                        return [ "message", "toast" ];
                    }
                },
                borderBottom: {
                    type: Boolean,
                    default: !0
                },
                labelPosition: {
                    type: String,
                    default: "left"
                },
                labelWidth: {
                    type: [ String, Number ],
                    default: 90
                },
                labelAlign: {
                    type: String,
                    default: "left"
                },
                labelStyle: {
                    type: Object,
                    default: function() {
                        return {};
                    }
                }
            },
            provide: function() {
                return {
                    uForm: this
                };
            },
            data: function() {
                return {
                    rules: {}
                };
            },
            created: function() {
                this.fields = [];
            },
            methods: {
                setRules: function(e) {
                    this.rules = e;
                },
                resetFields: function() {
                    this.fields.map(function(e) {
                        e.resetField();
                    });
                },
                validate: function(f) {
                    var r = this;
                    return new Promise(function(t) {
                        var n = !0, o = 0, u = [];
                        r.fields.map(function(e) {
                            e.validation("", function(e) {
                                e && (n = !1, u.push(e)), ++o === r.fields.length && (t(n), -1 === r.errorType.indexOf("none") && 0 <= r.errorType.indexOf("toast") && u.length && r.$u.toast(u[0]), 
                                "function" == typeof f && f(n));
                            });
                        });
                    });
                }
            }
        };
        t.default = o;
    },
    a4ab: function(e, t, n) {},
    a9f1: function(e, t, n) {
        n.d(t, "b", function() {
            return o;
        }), n.d(t, "c", function() {
            return u;
        }), n.d(t, "a", function() {});
        var o = function() {
            this.$createElement;
            this._self._c;
        }, u = [];
    },
    f3f6: function(e, t, n) {
        var o = n("a4ab");
        n.n(o).a;
    },
    fe1f: function(e, t, n) {
        n.r(t);
        var o, u = n("5eda"), f = n.n(u);
        for (o in u) "default" !== o && function(e) {
            n.d(t, e, function() {
                return u[e];
            });
        }(o);
        t.default = f.a;
    }
} ]), (global.webpackJsonp = global.webpackJsonp || []).push([ "uview-ui/components/u-form/u-form-create-component", {
    "uview-ui/components/u-form/u-form-create-component": function(e, t, n) {
        n("543d").createComponent(n("1c79"));
    }
}, [ [ "uview-ui/components/u-form/u-form-create-component" ] ] ]);